package org.llc.common.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.*;
import java.util.Date;

/**
 *
 * @author llc
 * @date 2021-04-18 11:42
 * @since 1.0.0
 */
@Data
@ApiModel(value = "APP-新增用户账户 - DTO")
public class UserInfoDTO {

    @NotNull(message = "用户账户id为空")
    @ApiModelProperty(value = "账户id")
    private Long accountId;

    @Length(max = 64)
    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("头像")
    private String headPortrait;

    @ApiModelProperty(value = "个性签名")
    private String personalizedSignature;

    @ApiModelProperty(value = "生日")
    private Date birthday;

}
